<?php
/**
 * 服务平台
 */
class ServiceApp extends CommonApp {
    //导师培训服务
    public function trainAct(){
        $result = My::alias2detail('config','train');
        $this->assign('result',$result);
        $this->assign('menu',self::menu('train'));
        $this->display('Common/index');
    }
    //投资融资服务
    public function investAct(){
        $result = My::alias2detail('config','invest');
        $this->assign('result',$result);
        $this->assign('menu',self::menu('invest'));
        $this->display('Common/index');
    }
    //市场推广服务
    public function populariseAct(){
        $result = My::alias2detail('config','popularise');
        $this->assign('result',$result);
        $this->assign('menu',self::menu('popularise'));
        $this->display('Common/index');
    }
    //云服务平台
    public function cloudAct(){
        $result = My::alias2detail('config','cloud');
        $this->assign('result',$result);
        $this->assign('menu',self::menu('cloud'));
        $this->display('Common/index');
    }
}